package com.bdqn.bookshop.utils;

/**
 * @author : 罗若然[LUO_RUO_RAN]
 * @date : 2020-07-26 13:38
 **/
public enum  ResultType {

    SUCCESS("10000"),
    ERROR("10001"),
    LOGIN("10002"),
    MANAGER("10003"),
    REDIRECT("10004"),
    REDIRECTACTION("10005"),
    EXCEPTION("10006"),
    NODATA("10007");

    private  String value="";
    private ResultType(String value) {
        this.value = value;
    }


    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return super.toString().toLowerCase();
    }
}
